package com.csx.micrometer.discovery.constant;

import com.csx.micrometer.common.constant.OpenApiConstants;

/**
 * @author cuisongxu
 * @date 2022/12/5 19:09
 */
public class NacosOpenApiConstants extends OpenApiConstants {

    public static final String GET_ALL_SERVICES_API = "/nacos/v1/ns/service/list";

    public static final String NACOS_BASE = "/nacos/v1/ns";

    /**
     * 获取所有namespace的URI
     */
    public static final String GET_ALL_NAMESPACE_URI = "/nacos/v1/console/namespaces";

    /**
     * 获取所有service接口的URI
     */
    public static final String GET_ALL_SERVICE_URI = NACOS_BASE + "/service/list";

    /**
     * 获取所有实例的URI
     */
    public static final String GET_ALL_INSTANCE_URI = NACOS_BASE + "/instance/list";
}
